<link href="../Public/css/skin.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="../Public/js/jquery-1.4.3.min.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>订单详情</title>

<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #EEF2FB;
}
-->
</style>

<body>
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td width="17" valign="top"
				background="../Public/images/mail_leftbg.gif"><img
				src="../Public/images/left-top-right.gif" width="17" height="29" />
			</td>
			<td valign="top" background="../Public/images/content-bg.gif">
				<table width="100%" height="31" border="0" cellpadding="0" cellspacing="0"
					class="left_topbg" id="table2">
					<tr>
						<td height="31"><div class="titlebt">查看详情</div>
						</td>
					</tr>
				</table>
			</td>
			<td width="16" valign="top"
				background="../Public/images/mail_rightbg.gif"><img
				src="../Public/images/nav-right-bg.gif" width="16" height="29" />
			</td>
		</tr>
		<tr>
			<td valign="middle" background="../Public/images/mail_leftbg.gif">&nbsp;</td>
			<td valign="top" bgcolor="#F7F8F9">
				<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
					<tr>
						<td valign="top" class="td_top"></td>
					</tr>
					<tr>
						<td>
							<table width="100%" border="0" cellpadding="3" cellspacing="0"
								bgcolor="#CCCCCC" class="content">
								<tr>
									<td class="edit_left">ID：</td>
									<td class="edit_right">{$data.id}</td>
								</tr>
								<tr>
									<td class="edit_left">竞拍ID：</td>
									<td class="edit_right">{$data.aid}</td>
								</tr>
								<tr>
									<td class="edit_left">用户名：</td>
									<td class="edit_right">{$data.name}</td>
								</tr>
								<tr>
									<td class="edit_left">订单号：</td>
									<td class="edit_right">{$data.ordersn}</td>
								</tr>
								<tr>
									<td class="edit_left">商品名称：</td>
									<td class="edit_right">{$data.goodsname}</td>
								</tr>
								<tr>
									<td class="edit_left">订单价格：</td>
									<td class="edit_right">{$data.orderprice}</td>
								</tr>
								<tr>
									<td class="edit_left">收件人：</td>
									<td class="edit_right">{$data.recipient}</td>
								</tr>
								<tr>
									<td class="edit_left">地址：</td>
									<td class="edit_right">{$data.address}</td>
								</tr>
								<tr>
									<td class="edit_left">邮编：</td>
									<td class="edit_right">{$data.postalcode}</td>
								</tr>
								<tr>
									<td class="edit_left">联系方式：</td>
									<td class="edit_right">{$data.tel}</td>
								</tr>
								<tr>
									<td class="edit_left">备注：</td>
									<td class="edit_right">{$data.tel}</td>
								</tr>
								<tr>
									<td class="edit_left">订单时间：</td>
									<td class="edit_right">{$data.addtime|date="Y-m-d H:i:s",###}</td>
								</tr>
								<tr>
									<td class="edit_left">订单类型：</td>
									<td class="edit_right">
										<eq name="data['type']" value="0">保价购买</eq>
										<eq name="data['type']" value="1">竞拍成功</eq> 
										<eq name="data['type']" value="2">积分兑换</eq>
									</td>
								</tr>
								<tr>
									<td class="edit_left">订单状态：</td>
									<td class="edit_right">
										<eq name="data['state']" value="0">未付款</eq>
										<eq name="data['state']" value="1">已付款</eq>
										<eq name="data['state']" value="2">已发货</eq> 
										<eq name="data['state']" value="3">已成交</eq> 
										<eq name="data['state']" value="4">已成交</eq> 
										<eq name="data['state']" value="5">已失效</eq>
									</td>
								</tr>
								<tr>
									<td colspan="2">
										<eq name="data['state']" value="0">
											<a class="operation_setPaid"
												href="javascript:if(confirm('设置为已付款？'))location='__URL__/setPaid/id/{$data.id}'"
												style="margin-left: 430px; margin-top: 30px;"></a>
										</eq> 
										<eq name="data['state']" value="1">
											<a class="operation_setDelivery"
												href="__APP__/Express/add/id/{$data.id}"
												style="margin-left: 430px; margin-top: 30px;"></a>
										</eq> 
										<eq name="data['state']" value="2">
											<a class="operation_setExecuted"
												href="javascript:if(confirm('设置为已成交？'))location='__URL__/setExecuted/id/{$data.id}'"
												style="margin-left: 430px; margin-top: 30px;"></a>
										</eq>
									</td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td height="40"></td>
					</tr>
					<tr>
						<td width="51%" class="left_txt"><img
							src="../Public/images/icon-mail2.gif" width="16" height="11">
							客户服务邮箱：{$Think.config.sysconfig.services_email}<br> <img
							src="../Public/images/icon-phone.gif" width="17" height="14">
							官方网站：{$Think.config.sysconfig.website}</td>
					</tr>
				</table></td>
			<td background="../Public/images/mail_rightbg.gif">&nbsp;</td>
		</tr>
		<tr>
			<td valign="bottom" background="../Public/images/mail_leftbg.gif"><img
				src="../Public/images/buttom_left2.gif" width="17" height="17" />
			</td>
			<td background="../Public/images/buttom_bgs.gif"><img
				src="../Public/images/buttom_bgs.gif" width="17" height="17">
			</td>
			<td valign="bottom" background="../Public/images/mail_rightbg.gif"><img
				src="../Public/images/buttom_right2.gif" width="16" height="17" />
			</td>
		</tr>
	</table>
</body>
